Skip to content

Conversation

@StephenNneji
Copy link
Contributor

Fixes #123

@StephenNneji StephenNneji marked this pull request as ready for review January 16, 2026 13:27
Copy link
Collaborator

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a function call to check. Assuming it's like I expect, everything looks ok.

Copy link
Collaborator

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, when I try to save an example project to a new folder after modifying the custom function, I get the error:

C:\Users\gnn85523\AppData\Local\miniconda3\envs\rascal2\lib\site-packages\ratapi\project.py:963: UserWarning: Could not write custom file path as relative to the project directory, which means that it may not work on other devices. If you would like to share your project, make sure your custom files are in a subfolder of the project save location. "path": try_relative_to(item.path, filepath.parent),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make it so user cannot overwrite custom files in an example project

2 participants